home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 January: Mac OS SDK / Dev.CD Jan 96 SDK / Dev.CD Jan 96 SDK1.toast / Development Kits (Disc 1) / AOCE / Development Tools / Sample Code / Interprogram Messaging Manager / IPM MessageBoard / globals.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-08-23  |  1.1 KB  |  38 lines  |  [TEXT/MPS ]

  1. #ifndef __TYPES__
  2. #include <Types.h>
  3. #endif
  4.  
  5. #ifndef __DIALOGS__
  6. #include <Dialogs.h>
  7. #endif
  8.  
  9. #ifndef __OCEMESSAGING__
  10. #include <OCEMessaging.h>
  11. #endif
  12.  
  13. extern    Boolean    gHasWaitNextEvent;        // true if we have waitnextevent available
  14.  
  15. extern    Boolean    gDone;                    // application should terminate when set
  16. extern    Boolean    gInBackground;            // true if application is in the background
  17.  
  18. extern    DialogPtr gMainDialog;            // main dialog window
  19.  
  20. extern    Str255    gMessageList[kMaxMessages];    // array of messages received/sent
  21. extern    OCEPackedRecipient *gDestList[kMaxDestinations];    // array of destinations
  22.  
  23. extern    short    gNumMessages;            // number of messages
  24. extern    short    gNumDestinations;        // number of destinations
  25.  
  26. extern    IPMContextRef    gIPMContext;    // context for IPM queues
  27. extern    IPMQueueRef        gIPMQueueRef;    // our IPM Queue Reference
  28.  
  29. extern    OCERecipient    gLocalQueue;        // our local queue
  30. extern    char            gLocalQXtn[256];    // our local queue's extension buffer
  31.  
  32. extern    AuthIdentity        gIdentity;    // our identity (must be 0 for serverless)
  33.  
  34. extern short    gRadioBtnSelected;        // current radio button selection for destination
  35.  
  36. extern RString gAllTypes;
  37. extern    RString *gTypesList[];
  38.